package com.ef.service;

import java.util.List;

import com.ef.domain.School;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface SchoolService extends BaseService {

	public PaginationSupport<School> findByExample(
			CustomExample<School> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(School entity);
	
	public void delete(School entity); 
	
	public School findById(Long id);
	
	public List<School> findAll();
	
	public List<School> getAllValid ();
}
